home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8542 / 8542.xpi / chrome / lastpass.jar / content / home.xul < prev    next >
Extensible Markup Language  |  2010-02-14  |  8KB  |  136 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3. <?xml-stylesheet href="chrome://lastpass/content/search.css" type="text/css"?>
  4.  
  5. <!DOCTYPE dialog SYSTEM "chrome://lastpass/locale/lastpass.dtd">
  6.  
  7. <window width='600' height='500' id="LPHOME"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         ondialogaccept="return LP.search_home_accept_click(document, window);"
  10.         buttons=","
  11.         style="background-color: #FFFFFF;overflow:auto;"
  12.         onload="window_load(document, window);"
  13.         onunload="window_unload();" xmlns:html="http://www.w3.org/1999/xhtml">
  14.     
  15.     <html:link rel="icon" href="chrome://lastpass/skin/favicon.ico"/>
  16.     
  17.     
  18.     <script src="chrome://global/content/nsDragAndDrop.js"/>
  19.     <script src="chrome://global/content/nsTransferable.js"/>
  20.     <script type="application/x-javascript" src="chrome://lastpass/content/getlp.js" />
  21.     <script type="application/x-javascript" src="chrome://lastpass/content/home.js" />
  22.     
  23.     
  24.     
  25.     <vbox style="background-color: #FFFFFF; width: 100%;">
  26.         <hbox align='center'>
  27.             <menu class="text-link" id="lpt_lpfillformsmenu5" disabled="true">
  28.                 <menupopup class="text" id="lpt_lpfillformspopup5" flex="1" />
  29.             </menu>
  30.             <spacer style="width: 50px"/>
  31.             <label id="addsecurenote" class="text-link" onclick="if(LP.getLoggedIn()){LP.lpOpenEditWindow(0, 0, 1, window);}"/>
  32.             <spacer id="headerspacer" style="width: 1px"/>
  33.             <label id="topusername" class="header" value=""/>
  34.             <label value=" | "/>
  35.             <label id="labelidentity" class="text"/>
  36.             <menulist id="identitylist" class="text">
  37.                 <menupopup id="identitypopup" class="text">
  38.                 </menupopup>
  39.             </menulist>
  40.             <label value=" | "/>
  41.             <label id="accountsettings" class="text-link" onclick="if(LP.getLoggedIn()){LP.lpbaseopen('?ac=1&opensettings=1');}"/>
  42.             <label value=" | "/>
  43.             <menu class="text-link" id="lphomemore" >
  44.                 <menupopup class="text" id="lpmorepopup" flex="1">
  45.                     <menuitem id="prefs" class="" oncommand="if(LP.getLoggedIn()){LP.lpOpenPrefs();}"/>
  46.                     <menuitem id="history" class="" oncommand="if(LP.getLoggedIn()){LP.lpbaseopen('?ac=1&openhistory=1');}"/>
  47.                     <menuitem id="showdeleted" class="" oncommand="if(LP.getLoggedIn()){LP.lpbaseopen('?ac=1&showdeleted=1');}"/>
  48.                     <menuitem id="changepassword" class="" oncommand="if(LP.getLoggedIn()){LP.lpbaseopen('?ac=1&opensettings=1');}"/>
  49.                     <menuitem id="forums" class="" oncommand="LP.lpanyopen('http://forums.' + LP.lp_basehost);"/>
  50.                     <menuitem id="blog" class="" oncommand="LP.lpanyopen('http://blog.' + LP.lp_basehost);"/>
  51.                     <menuitem id="sethomepage" class="" oncommand="window_sethomepage()"/>
  52.                 </menupopup>
  53.             </menu>
  54.             <label value=" | "/>
  55.             <label id="logofflink" class="text-link" onclick="if(LP.getLoggedIn()){LP.logoffhelper('vault');}"/>
  56.         </hbox>
  57.         <separator style="height: 1px; background-color: #000;" />
  58.     </vbox>
  59.     
  60.     <vbox style="background-color: #FFFFFF; width: 100%;" align="center">
  61.         <spacer orient="horizontal" height="10"/>
  62.         <spacer orient="horizontal" height="10"/>
  63.         <hbox>
  64.             <image src="chrome://lastpass/skin/icon_whitebg2.png" onclick='document.location.href=LP.lp_base' style="cursor: pointer;"/>
  65.             <spacer style="width: 10px"/>
  66.             <textbox id="lpsearchstr" size="50" onkeydown="LP.search_home_keydown(document, window, event, false);" onkeyup="LP.search_home_keyup(document, window, event);" />
  67.             <button id="searchBtn" oncommand="LP.search_home_accept_click(document, window);"/>
  68.             <button id="clearBtn"  oncommand="clear_click();"/>
  69.         </hbox>
  70.         <spacer orient="horizontal" height="10"/>
  71.         <spacer orient="horizontal" height="10"/>
  72.     </vbox>
  73.     
  74.     <vbox id="nosites" hidden="true" align='center' style="width: 100%;">
  75.         <vbox flex='1'>
  76.             <label id="nositeslabel" />
  77.             <spacer style="width: 3px"/>
  78.             <label id="browsenormallylabel" />
  79.             <spacer style="width: 3px"/>
  80.             <label id="watchvideolabel" class='text-link' onclick="LP.lpbaseopen('basic.php');"/>
  81.             <spacer style="width: 10px"/>
  82.         </vbox>
  83.     </vbox>
  84.     
  85.     <vbox flex='1' style="background-color: #FFFFFF; width: 100%;">
  86.         <hbox id='expandcollapse' hidden='true'>
  87.             <spacer style="width: 2px"/>
  88.             <label onclick='expandall();' id="expandall" class="text-link"/>
  89.             <spacer style="width: 15px"/>
  90.             <label onclick='collapseall();' id="collapseall" class="text-link"/>
  91.         </hbox>
  92.         <spacer height="1"/>
  93.         <spacer orient="horizontal" style="width: 2px"/>
  94.         <box flex="1" pack="end">
  95.             
  96.             <tree flex="1" id='tree' hidden='tree' seltype='multiple' enableColumnDrag='true' onclick='onTreeClicked(event)' hidecolumnpicker='false' onkeyup='getSelected(); LP.search_home_treeselect(document,window,event)'
  97.       ondraggesture="nsDragAndDrop.startDrag(event, siteObserver)"
  98.       ondragover="if (LP.gecko_version() >= '1.9.1') { siteObserver.dragover(event); } else { nsDragAndDrop.dragOver(event, siteObserver); }"
  99.       ondragdrop="siteObserver.drop(event, nsDragAndDrop)"
  100.       ondrop="siteObserver.drop(event, nsDragAndDrop)">
  101.                 <treecols>
  102.                     <treecol id='tname' flex="10" minwidth="160" crop="end" class="sortDirectionIndicator" sortDirection="ascending" sortActive="true" onclick="sort(this)" persist="width ordinal hidden" sortReference='tname' primary="true" ignoreincolumnpicker="true"/>
  103.                     <splitter class="tree-splitter" />
  104.                     <treecol id='tusername' flex="1" hidden="true" minwidth="160" class="sortDirectionIndicator" onclick="sort(this)" persist="width ordinal hidden" />
  105.                     <splitter class="tree-splitter" />
  106.                     <treecol id='turl' flex="1" hidden="true" minwidth="160" class="sortDirectionIndicator" onclick="sort(this)" persist="width ordinal hidden" />
  107.                     <splitter class="tree-splitter" />
  108.                     <treecol id='tlasttouch' minwidth="130" class="sortDirectionIndicator" onclick="sort(this)" persist="width ordinal hidden"/>
  109.                     <splitter class="tree-splitter" />
  110.                     <treecol id="tnote" style="font-size: 0" minwidth="20" persist="width ordinal hidden" onclick="sort(this)" />
  111.                     <splitter class="tree-splitter" />
  112.                     <treecol id="tpwprotect" minwidth="20" style="font-size: 0" persist="width ordinal hidden" onclick="sort(this)" />
  113.                     <splitter class="tree-splitter" />
  114.                     <treecol id="tautologin" minwidth="20" style="font-size: 0" persist="width ordinal hidden" onclick="sort(this)" />
  115.                     <splitter class="tree-splitter" />
  116.                     <treecol id="taction1" minwidth="40" persist="width ordinal hidden"/>
  117.                     <splitter class="tree-splitter" />
  118.                     <treecol id="taction2" label="" style="font-size: 0" minwidth="40" persist="width ordinal hidden" />
  119.                     <splitter class="tree-splitter" />
  120.                     <treecol id="taction3" label="" style="font-size: 0" minwidth="40" persist="width ordinal hidden" />
  121.                 </treecols>
  122.                 
  123.                 <treechildren id='searchresults'/>
  124.             </tree>
  125.             
  126.             
  127.             <spacer id="adsspacer" orient="horizontal" style="width: 8px"/>
  128.             <vbox>
  129.                 <iframe id="ads" width="135" minheight="620" style="overflow:hidden; padding: 0px; margin: 0px;"/>
  130.             </vbox>
  131.         </box>
  132.     </vbox>
  133.     
  134.     <menupopup id="rightclickmenu" />
  135. </window>
  136.